
package engine.systems.spatial.sleep
{
	import ash.core.Component;

	public class Sleep extends Component
	{
		public static const TYPE_DISPLAY:int	= 0;
		public static const TYPE_SPATIAL:int	= 1;
		
		public var type:int;
		public var sleeping:Boolean;
		public var ignoreOffscreen:Boolean;
		public var ignoreGroup:Boolean;
		
		public function Sleep(sleeping:Boolean = false, ignoreOffscreen:Boolean = false, ignoreGroup:Boolean = false, type:int = Sleep.TYPE_DISPLAY)
		{
			this.sleeping 			= sleeping;
			this.ignoreOffscreen 	= ignoreOffscreen;
			this.ignoreGroup		= ignoreGroup;
			this.type				= type;
		}
	}
}